package com.swallow.cloud.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.swallow.cloud.common.web.BaseService;
import com.swallow.cloud.entity.User;
import com.swallow.cloud.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: L.swallow
 * @Date: 2018/12/29 15:04
 */
@Service
public class UserService extends ServiceImpl<UserMapper,User> implements IService<User>{

    @Autowired
    private UserMapper userMapper;

    public User selectUserByUserName(String username) {
        return  userMapper.selectUserByUserName(username);
    }
}
